home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / pdx_wp.arc / PDX2WP.SC < prev    next >
Text File  |  1990-11-14  |  861b  |  34 lines

  1. if nimages() > 0 then 
  2.  
  3.    showmenu
  4.       "Table"  : "Create a WordPerfect table from a Paradox table",
  5.       "Columns": "Create WordPerfect parallel columns from Paradox table",
  6.       "Merge"  : "Create WordPerfect secondary merge file from Paradox table",
  7.       "Quit"   : "Cancel PDX2WP translation utility"
  8.    to choice
  9.  
  10.    switch
  11.       case choice = "Table":
  12.          run big "pdx2wp " + table() + ".tbl " + table() + " /t"
  13.  
  14.       case choice = "Columns":
  15.          run big "pdx2wp " + table() + ".col " + table() + " /c"
  16.  
  17.       case choice = "Merge":
  18.          run big "pdx2wp " + table() + ".mrg " + table() + " /m"
  19.  
  20.       case choice = "Quit":
  21.       case choice = "Esc":
  22.          release vars choice
  23.          return
  24.  
  25.    endswitch
  26.  
  27. else
  28.  
  29.    message "Cannot run PDX2WP -- no table has been selected"
  30.    sleep 3000
  31.  
  32. endif
  33.  
  34.